//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Cary Ballet Company: Alice In Wonderland & Balanchine's Who Cares','Fletcher Opera Theater At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/4/2024','6:00 PM','6301882','Cary-Ballet-Company--Alice-In-Wonderland---Balanchine-s-Who-Cares-5-4-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Saturday','5/4/2024','7:00 PM','6368064','Charlotte-Ballet--Swan-Lake-5-4-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Sunday','5/5/2024','2:00 PM','6368065','Charlotte-Ballet--Swan-Lake-5-5-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Thursday','5/9/2024','7:30 PM','6368081','Charlotte-Ballet--Swan-Lake-5-9-2024'],['High Point Ballet: Cirque Dreams and Illusions','High Point Theatre','High Point, NC','Friday','5/10/2024','7:30 PM','6327203','High-Point-Ballet--Cirque-Dreams-and-Illusions-5-10-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Friday','5/10/2024','7:30 PM','6368082','Charlotte-Ballet--Swan-Lake-5-10-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Saturday','5/11/2024','2:00 PM','6368113','Charlotte-Ballet--Swan-Lake-5-11-2024'],['High Point Ballet: Cirque Dreams and Illusions','High Point Theatre','High Point, NC','Saturday','5/11/2024','2:00 PM','6327204','High-Point-Ballet--Cirque-Dreams-and-Illusions-5-11-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Saturday','5/11/2024','7:00 PM','6368120','Charlotte-Ballet--Swan-Lake-5-11-2024'],['Charlotte Ballet: Swan Lake','Knight Theatre at Levine Center for the Arts','Charlotte, NC','Sunday','5/12/2024','2:00 PM','6368121','Charlotte-Ballet--Swan-Lake-5-12-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Thursday','5/16/2024','7:30 PM','5823454','Carolina-Ballet--Cinderella-5-16-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','5/17/2024','2:00 PM','5823458','Carolina-Ballet--Cinderella-5-17-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','5/17/2024','7:30 PM','5823455','Carolina-Ballet--Cinderella-5-17-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/18/2024','2:00 PM','5823459','Carolina-Ballet--Cinderella-5-18-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/18/2024','7:30 PM','5823456','Carolina-Ballet--Cinderella-5-18-2024'],['Carolina Ballet: Cinderella','Raleigh Memorial Auditorium At Martin Marietta Center for the Performing Arts','Raleigh, NC','Sunday','5/19/2024','2:00 PM','5824956','Carolina-Ballet--Cinderella-5-19-2024'],['Triad International Ballet: Romeo and Juliet','Carolina Theater - Greensboro','Greensboro, NC','Wednesday','5/22/2024','2:00 PM','6286448','Triad-International-Ballet--Romeo-and-Juliet-5-22-2024'],['Triad International Ballet: Romeo and Juliet','Carolina Theater - Greensboro','Greensboro, NC','Thursday','5/23/2024','7:00 PM','6286449','Triad-International-Ballet--Romeo-and-Juliet-5-23-2024'],['International Ballet: Swan Lake','Peace Concert Hall At The Peace Center - SC','Greenville, SC','Saturday','5/25/2024','7:30 PM','6051572','International-Ballet--Swan-Lake-5-25-2024'],['International Ballet: Swan Lake','Peace Concert Hall At The Peace Center - SC','Greenville, SC','Sunday','5/26/2024','3:00 PM','6051612','International-Ballet--Swan-Lake-5-26-2024'],['Ballet Conservatory of Asheville: Paquita','Diana Wortham Theatre','Asheville, NC','Friday','5/31/2024','7:00 PM','6371474','Ballet-Conservatory-of-Asheville--Paquita-5-31-2024'],['Ballet Conservatory of Asheville: Paquita','Diana Wortham Theatre','Asheville, NC','Saturday','6/1/2024','7:00 PM','6371475','Ballet-Conservatory-of-Asheville--Paquita-6-1-2024'],['Nutcracker! Magical Christmas Ballet','Crown Theatre - The Crown Center','Fayetteville, NC','Thursday','11/14/2024','7:00 PM','6377290','Nutcracker--Magical-Christmas-Ballet-11-14-2024'],['Nutcracker! Magical Christmas Ballet','North Charleston Performing Arts Center','North Charleston, SC','Saturday','12/14/2024','4:00 PM','6357682','Nutcracker--Magical-Christmas-Ballet-12-14-2024'],['Nutcracker! Magical Christmas Ballet','North Charleston Performing Arts Center','North Charleston, SC','Saturday','12/14/2024','8:00 PM','6357683','Nutcracker--Magical-Christmas-Ballet-12-14-2024'],['Nutcracker! Magical Christmas Ballet','Ovens Auditorium','Charlotte, NC','Sunday','12/15/2024','12:00 PM','6348931','Nutcracker--Magical-Christmas-Ballet-12-15-2024'],['Nutcracker! Magical Christmas Ballet','Ovens Auditorium','Charlotte, NC','Sunday','12/15/2024','4:00 PM','6348932','Nutcracker--Magical-Christmas-Ballet-12-15-2024'],['Nutcracker! Magical Christmas Ballet','Thomas Wolfe Auditorium at Harrah's Cherokee Center','Asheville, NC','Wednesday','12/18/2024','7:00 PM','6357684','Nutcracker--Magical-Christmas-Ballet-12-18-2024'],['State Ballet Theatre of Ukraine: The Nutcracker','Carolina Theatre - Durham','Durham, NC','Thursday','12/19/2024','7:30 PM','6329692','State-Ballet-Theatre-of-Ukraine--The-Nutcracker-12-19-2024'],['Nutcracker! Magical Christmas Ballet','Durham Performing Arts Center','Durham, NC','Tuesday','12/24/2024','1:00 PM','6376897','Nutcracker--Magical-Christmas-Ballet-12-24-2024'],['Nutcracker! Magical Christmas Ballet','Durham Performing Arts Center','Durham, NC','Tuesday','12/24/2024','5:00 PM','6376898','Nutcracker--Magical-Christmas-Ballet-12-24-2024']],'Carolina Ballet','http://www.ticketnetwork.com/ticket/Carolina-Ballet-events.aspx');